package com.bwie.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.pojo.TbDict;
import com.bwie.service.TbDictService;
import com.bwie.mapper.TbDictMapper;
import com.bwie.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 叶雨洁
* @description 针对表【tb_dict】的数据库操作Service实现
* @createDate 2025-07-28 10:30:18
*/
@Service
public class TbDictServiceImpl extends ServiceImpl<TbDictMapper, TbDict>
    implements TbDictService{

    @Autowired
    TbDictMapper dictMapper;
    @Override
    public R getDictList() {

        List<TbDict> tbDicts = dictMapper.selectList(null);
        return R.OK(tbDicts);
    }
}




